package com.goal.struggle.convert.goal;

import com.goal.struggle.model.repository.goal.GoalDailyDO;
import com.goal.struggle.model.vo.goal.GoalDailyVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface GoalDailyConvert {
    GoalDailyConvert INSTANCE = Mappers.getMapper(GoalDailyConvert.class);

    GoalDailyVO doTOvo(GoalDailyDO goalDailyDO);

    List<GoalDailyVO> doTOvo(List<GoalDailyDO> goalDailyDO);
}
